c language to calculate the factorial of the number using while loop